
To compile runsim.c, use the command: gcc -o runsim runsim.c makeargv.c restart.c

To compile testsim.c, use the command: gcc -o testsim testsim.c

To run the program as required, use the command: ./runsim 2 < testing.data


